Skip to content

Analytics: failures show their step and retries, and runs waiting on a person - #388

Merged
nambok merged 1 commit into
mainfrom
reliability-tab-reasons
Nov 11, 2026
Merged

nambok merged 1 commit into
mainfrom
reliability-tab-reasons

Conversation

@nambok

@nambok nambok commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

The Reliability tab now shows what the server counts since CoderHelm/coderhelm-platform#619: failures a person retried, the step each group of failures happened in, the reasons past the first eight, and the runs that stopped for a person, by what they wait for.

Before, a failure a person retried disappeared from the tab, so a team saw "No failed runs" for a week in which three runs had failed, and runs waiting on someone (often more than the failures) weren't on the tab at all.

Changes

  • dashboard/src/app/analytics/page.tsx
    • Failures by reason: Reason, Step, Runs, Retried, Latest; a row summing the other reasons (failures_more).
    • New "Waiting on a person" table (waiting): what each group waits for, with "Nothing recorded" shown as a wait to act on (open the run, then retry or close it).
    • Recently failed names the step and says when a person retried the run.
    • The overview's Failed runs tile says how many failures were retried.
    • Testing is named as a step.
  • dashboard/src/lib/api.ts: the new optional fields; older servers leave them out and the tab shows dashes.

Verification

  • npx tsc --noEmit, node scripts/ui-lint.mjs, node scripts/no-hosted-links.mjs.
  • npx playwright test e2e/analytics.spec.ts --project=chromium: 24 passed, including the new "failures show their step and retries, the rest summed, and what waiting runs wait for", which fails on the old page (no Step column, no summed row, no waiting table, no retried note).

…a person

The Reliability tab's failures table gets a Step column (where most of the
group failed) and a Retried column (how many a person retried), and a row
summing the reasons past the ones listed instead of dropping them. Recently
failed names the step and says when a person retried the run. A new
"Waiting on a person" table groups runs that stopped for someone by what
they wait for, and calls out waits that name nothing with what to do. The
overview's Failed runs tile says how many failures were retried.
@nambok nambok closed this Nov 11, 2026
@nambok nambok reopened this Nov 11, 2026
@nambok
nambok merged commit d78d32f into main Nov 11, 2026
10 checks passed
@nambok
nambok deleted the reliability-tab-reasons branch November 11, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant